package site.qjdb.pojo;

import java.util.List;

/**
 * 	聊天
 * 
 * */
public class Chat {
	private Integer chatId; // 聊天id
	private User me; // 我
	private User notMe; // 聊天对象
	private Integer isRecent; // 是否在聊天窗口显示，0：不显示，1：显示
	private Integer isOpen; // 是否是当前聊天，0：不是，1：是
	private List<ChatItem> chatItemList; // 对应的chatItem集合
	private String uuid; // 当前表的uuid
	private String recentContent; // 最近一次的聊天信息
	private Integer readCount; // 已读行数

	public Chat() {
	}

	public Integer getChatId() {
		return chatId;
	}

	public void setChatId(Integer chatId) {
		this.chatId = chatId;
	}

	public User getMe() {
		return me;
	}

	public void setMe(User me) {
		this.me = me;
	}

	public User getNotMe() {
		return notMe;
	}

	public void setNotMe(User notMe) {
		this.notMe = notMe;
	}

	public Integer getIsRecent() {
		return isRecent;
	}

	public void setIsRecent(Integer isRecent) {
		this.isRecent = isRecent;
	}

	public Integer getIsOpen() {
		return isOpen;
	}

	public void setIsOpen(Integer isOpen) {
		this.isOpen = isOpen;
	}

	public List<ChatItem> getChatItemList() {
		return chatItemList;
	}

	public void setChatItemList(List<ChatItem> chatItemList) {
		this.chatItemList = chatItemList;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getRecentContent() {
		return recentContent;
	}

	public void setRecentContent(String recentContent) {
		this.recentContent = recentContent;
	}

	public Integer getReadCount() {
		return readCount;
	}

	public void setReadCount(Integer readCount) {
		this.readCount = readCount;
	}

	@Override
	public String toString() {
		return "Chat [chatId=" + chatId + ", me=" + me + ", notMe=" + notMe + ", isRecent=" + isRecent + ", isOpen="
				+ isOpen + ", chatItemList=" + chatItemList + ", uuid=" + uuid + ", recentContent=" + recentContent
				+ ", readCount=" + readCount + "]";
	}

}
